package com.onedec.attendance.service.impl;

import com.onedec.attendance.dao.OnedecAttendanceDao;
import com.onedec.attendance.entity.OnedecAttendance;
import com.onedec.attendance.service.AttendanceService;

import javax.annotation.Resource;

public class AttendanceServiceImpl implements AttendanceService {
    @Resource
    private OnedecAttendanceDao attendanceDao;

    @Override
    public int insertMorningAttend(OnedecAttendance attendance) throws Exception {
        attendanceDao.insert(attendance);
        return 0;
    }

    @Override
    public int insertAfternoonAttend(OnedecAttendance attendance) throws Exception {

        return 0;
    }
}
